package com.hxzy.shop.dto.coupon.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderCouponResp implements Serializable {
    /**
     * 不可用
     */
    public static final Integer NOT_AVAILABLE = 2;
    /**
     * 可使用
     */
    public static final Integer AVAILABLE = 1;
    /**
     * 已过期
     */
    public static final Integer PAST_DUE = 3;
    @ApiModelProperty("优惠券id")
    private String couponId;

    @ApiModelProperty("会员管理优惠券id")
    private String memberInnerCouponId;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("优惠券类型 1满减券  2 包邮券")
    private Integer couponType;

    @ApiModelProperty("优惠券名称")
    private String couponName;


    @ApiModelProperty("门槛金额")
    private BigDecimal limitedAmount;

    @ApiModelProperty("优惠金额")
    private BigDecimal preferentialAmount;


    @ApiModelProperty("领取说明")
    private String receivingInstructions;


    @ApiModelProperty("优惠说明")
    private String offerDescription;

    @ApiModelProperty("使用须知")
    private String instructionsForUse;

    @ApiModelProperty("显示状态 1 可使用, 2 不可用， 3 已过期")
    private Integer state;

    @ApiModelProperty(hidden = true)
    private String drugId;

    @ApiModelProperty("是否是全部商品")
    private Boolean availableCommodityStatus;
}
